package org.jeecg.modules.dictionaries.service.impl;

import org.jeecg.modules.dictionaries.entity.TdUnit;
import org.jeecg.modules.dictionaries.mapper.TdUnitMapper;
import org.jeecg.modules.dictionaries.service.ITdUnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 单位表
 * @Author: jeecg-boot
 * @Date: 2021-11-22
 * @Version: V1.0
 */
@Service
public class TdUnitServiceImpl extends ServiceImpl<TdUnitMapper, TdUnit> implements ITdUnitService {

    @Autowired
    private TdUnitMapper tdUnitMapper;

    @Override
    public List<TdUnit> unitListAll(TdUnit tdUnit) {
        return tdUnitMapper.unitListAll(tdUnit);
    }
}
